public class Publish {
    String pubname;
    String address;
    String name;
    public Publish(){}
    public Publish(String pubname, String address, String name){
        this.pubname = pubname;
        this.name = name;
        this.address = address;
    }
    public String toString(){
        return "名称\t\t地址\t\t联系电话\n"+this.name+"\t"+this.address+"\t\t"+this.pubname;
    }
}